<#assign base=request.contextPath>
<!DOCTYPE html> 
<html>
	<head>
		<title></title>
		<meta charset="utf-8">
		<#include "common/reference.ftl" />
		<script type="text/javascript">
		<!--			
			$(function(){
			    $("#form").validate({
				   rules: {
				     oldpass:"required",					
					 newpass: "required",
					 checkpass: "required"					 
				   },
				  
				   messages: {				  	 
				   	 oldpass: {required: "原始密码不能为空"},
				   	 newpass: {required: "新密码不能为空"},
				   	 checkpass: {required: "确认密码不能为空"}
			       }
			    }); 
			});			
		//-->
		</script>
	</head>
	<body class="${configs["skinName"]}">
		<div class="page-content">
			<div class="row">
			<#include "common/breadcrumb.ftl">
				<form id="form" role="form" class="form-horizontal" method="post" action="${base}/${form_action}">
					<div class="col-xs-12">
						<div class="widget-box">
							<div class="widget-body">							
								<div class="alert alert-warning">
									<strong>提示!</strong>
									原始密码、新密码、确认新密码都不能为空,两次新密码必须一致!
								</div>
								
								<div class="row">
									<div class="col-sm-12">
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">
												原始密码:
											</label>
											<div class="col-sm-9">
												<input type="password" id="oldpass" name="oldpass" class="col-sm-6" maxlength="50" placeholder="请输入原始密码">
											</div>
										</div>	
									</div>
									
								</div>
								<div class="row">
									<div class="col-sm-12">
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">
												新密码:
											</label>
											<div class="col-sm-9">
												<input type="password" id="newpass" name="newpass" class="col-sm-6" maxlength="50" placeholder="请输入新密码">
											</div>
										</div>	
									</div>
									
								</div>
								<div class="row">
									<div class="col-sm-12">
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">
												确认密码:
											</label>
											<div class="col-sm-9">
												<input type="password" id="checkpass" name="checkpass" class="col-sm-6" maxlength="50" placeholder="请输入新密码">
											</div>
										</div>	
									</div>
									
								</div>
								
								<div class="clearfix form-actions">
									<div class="col-md-offset-3 col-md-9">
										<button id="btnSubmit" name="btnSubmit" class="btn btn-info" type="submit">
											<i class="fa fa-check bigger-110"></i>
											提 交
										</button>
										
										<button id="btnCancel" class="btn btn-info" type="reset">									
											<i class="fa fa-undo bigger-110"></i>
											取消
										</button>
									</div>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</body>
</html>